#!/usr/bin/env bash

set -e

if [ ! -f restart ]; then
    echo 'restart must be run within its container folder' 1>&2
    exit 1
fi

sh stop
sh start

echo 'restart successfully'
